import java.awt.Color;
/*
 * MyColor.java
 *
 * $LastChangedDate: 2008-05-15 23:11:19 +0000 (Thu, 15 May 2008) $
 * $LastChangedRevision: 9 $
 * Vicente J. Ferrer Dalmau
 * < vicente@jdalmau.es >
 *
 */

/**
 * Holds a Color.
 * @author Vicente J. Ferrer Dalmau
 */
public class MyColor {
    
    public Color color;
    public String name;
    public int position;

    /** Creates a new instance of MyColor */
    public MyColor(Color color, String name, int position) {
        
        this.color = color;
        this.name = name;
        this.position = position;
    }
    
    public String toString() {
        
        return name;
    }
}
